package copyengine.dataLayer.rpc.moudle.request
{
	import copyengine.dataLayer.rpc.ICERpcManger;

	/**
	 * requestMoudle job is to send the data to serverside . it only connect use which way send to server(post ,get, socket)
	 * not connect what data format is the data
	 *
	 * @author Tunied
	 *
	 */
	public interface ICERpcRequestModule
	{
		function initialize(_rpcManger:ICERpcManger , _wrapperClass:Class):void;
		function sendRpcRequest(_transferLayerData:*):void;
		function receiveServerResponse(_transferLayerData:* , _wrapper:ICERequestWrapper):void;
		function failedToRequest(_wrapper:ICERequestWrapper):void;
	}
}